﻿// -----------------------------------------------------------------------
// <copyright file="StockHistory.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace ClearLines.Stocks.Domain
{
   using System;
   using System.Collections.Generic;
   using System.Linq;
   using System.Text;

   /// <summary>
   /// TODO: Update summary.
   /// </summary>
   public class StockHistory
   {
      public StockHistory(string symbol, DateTime startDate, DateTime endDate, IEnumerable<TradingDaySummary> history)
      {
         this.Symbol = symbol;
         this.StartDate = startDate;
         this.EndDate = endDate;
         this.History = new List<TradingDaySummary>(history);
      }

      public string Symbol { get; private set; }
      public DateTime StartDate { get; private set; }
      public DateTime EndDate { get; private set; }
      public IEnumerable<TradingDaySummary> History { get; private set; } 
   }
}
